package com.bonc.rms.dao.impl.tms;

import java.util.List;
import java.util.Map;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Repository;

import com.bonc.rms.dao.tms.IAreaDistributionDao;
import com.bonc.rms.mapper.AreaDistributionMapper;

@Repository
public class AreaDistributionDaoImpl implements IAreaDistributionDao{

	@Autowired
	AreaDistributionMapper areaDistributionMapper;
	
	@Override
	public List<Map<String, Object>> getProv() {
		return areaDistributionMapper.getProv();
	}

	@Override
	public List<Map<String, Object>> getCity(Integer provId) {
		return areaDistributionMapper.getCity(provId);
	}

	@Override
	public List<String> getTalentArea(Integer depId) {
		return areaDistributionMapper.getTalentArea(depId);
	}

}
